#pragma warning disable 108
using System;
using System.Runtime.InteropServices;
using System.Collections.Generic;
using Cephei;
using Cephei.Core;
using Cephei.Core.Generic;
using Microsoft.FSharp.Core;
using Cephei.QL.Math.Optimization;
namespace Cephei.QL.Termstructures.Volatility
{
    /// <summary> 
	/// 
	/// </summary>
    [Guid ("6946DCD7-429F-4723-BCB4-27D201EE587A"),ComVisible(true)]
	public interface IAbcdCalibration 
	{
		///////////////////////////////////////////////////////////////
        // Methods
        //
        /// <summary> 
		/// 
		/// </summary>
		 Double A {get;}
        /// <summary> 
		/// 
		/// </summary>
		 Double B {get;}
        /// <summary> 
		/// 
		/// </summary>
		 Double C {get;}
        /// <summary> 
		/// 
		/// </summary>
		 IAbcdCalibration Compute {get;}
        /// <summary> 
		/// 
		/// </summary>
		 Double D {get;}
        /// <summary> 
		/// 
		/// </summary>
		 QL.Math.Optimization.EndCriteria.TypeEnum EndCriteria {get;}
        /// <summary> 
		/// 
		/// </summary>
		 Double Error {get;}
        /// <summary> 
		/// 
		/// </summary>
		 Cephei.Core.IVector<Double> K(Cephei.Core.IVector<Double> t, Cephei.Core.IVector<Double> blackVols);
        /// <summary> 
		/// 
		/// </summary>
		 Double MaxError {get;}
        /// <summary> 
		/// 
		/// </summary>
		 Double Value(Double x);
    }   

    /// <summary> 
	///  Factory
	/// </summary>
   	[ComVisible(true)]
    public interface IAbcdCalibration_Factory 
    {
        ///////////////////////////////////////////////////////////////
        // Factory methods
        //
        /// <summary> 
		/// 
		/// </summary>
	    IAbcdCalibration Create (Cephei.Core.IVector<Double> t, Cephei.Core.IVector<Double> blackVols, Microsoft.FSharp.Core.FSharpOption<Double> aGuess, Microsoft.FSharp.Core.FSharpOption<Double> bGuess, Microsoft.FSharp.Core.FSharpOption<Double> cGuess, Microsoft.FSharp.Core.FSharpOption<Double> dGuess, Microsoft.FSharp.Core.FSharpOption<Boolean> aIsFixed, Microsoft.FSharp.Core.FSharpOption<Boolean> bIsFixed, Microsoft.FSharp.Core.FSharpOption<Boolean> cIsFixed, Microsoft.FSharp.Core.FSharpOption<Boolean> dIsFixed, Microsoft.FSharp.Core.FSharpOption<Boolean> vegaWeighted, Microsoft.FSharp.Core.FSharpOption<Cephei.QL.Math.Optimization.IEndCriteria> endCriteria, Microsoft.FSharp.Core.FSharpOption<Cephei.QL.Math.Optimization.IOptimizationMethod> method);
        /// <summary> 
		/// 
		/// </summary>
	    IAbcdCalibration Create ();
    }
}

